/**
 * <p>
 * 筛选配置
 *
 * @Author：Roy
 * @Description：数据范围
 * @Date：Create by 2024-01-17 16:55:06
 */
const selectConfig = {
  'data-range': [
    {
      type: 'select-input',
      prop: 'rangeCode',
      name: '范围编码',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入范围编码',
        iconConfig: {
          type: 'suffix',
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-input',
      prop: 'rangeName',
      name: '范围名称',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入范围名称',
        iconConfig: {
          type: 'suffix',
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-option',
      prop: 'rangeLevel',
      name: '范围级别',
      optionList: [],
      selectPath: 'dictList',
      selectParams: {
        codeList: ['ecp-admin.dataRange.rangeLevel']
      },
      dataProp: {
        keyProp: 'ecp-admin.dataRange.rangeLevel',
        nameProp: 'label',
        codeProp: 'value'
      },
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请选择范围级别'
      }
    },
    {
      type: 'select-option',
      prop: 'status',
      name: '状态',
      optionList: [],
      selectPath: 'dictList',
      selectParams: {
        codeList: ['ecp-admin.dataRange.status']
      },
      dataProp: {
        keyProp: 'ecp-admin.dataRange.status',
        nameProp: 'label',
        codeProp: 'value'
      },
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请选择状态'
      }
    },
  ]
}

export default {}
export { selectConfig }
